<%@ include file="template/CommonHeader.jsp" %>
<link href="/FMTOOL_WEB/resources/plugins/forms/select/select2.css" type="text/css" rel="stylesheet" />
    <div id="wrapper">
        <%@ include file="template/LeftNavigator.jsp" %>

        <!--Body content-->
        <div id="content" class="clearfix">
            <div class="contentwrapper"><!--Content wrapper-->
                <%@ include file="template/PageHeader.jsp" %>
                <!-- Build page from here: -->
                <%@ include file="template/CommonErrorMessage.jsp" %>
                 
                 <div class="row-fluid">
                        <div class="span12">
                            <div class="box">
                                <div class="title">
                                    <h4><span>New Make Form</span></h4>                                    
                                </div>
                                <div class="content">
                                   
                                    <form class="form-horizontal" id="form-addMake" action="saveMake.action"  method="post">										
                                        <div class="form-row row-fluid">
                                            <div class="span12">
                                                <div class="row-fluid">
                                                    <label class="form-label span3" for="make.makeName">Make Name<font style="color:red">*</font></label>
                                                    <input class="span7" type="text" value="<s:property value='make.makeName' />" name="make.makeName" id="makeName"  />						
                                                </div>
                                            </div>
                                        </div>
										
                                        <div class="form-row row-fluid">
                                            <div class="span12">
                                                <div class="row-fluid">
                                                    <div class="form-actions">
                                                    <div class="span3"></div>
                                                    <div class="span9 controls">
                                                        <button type="submit" name="submit" class="btn marginR10" value="Submit">Save changes</button>
                                                    </div>
                                                    </div>
                                                </div>
                                            </div> 
                                        </div>
                                    </form>
                                 
                                </div>

                            </div><!-- End .box -->

                        </div><!-- End .span12 -->

                    </div><!-- End .row-fluid -->  
                
                <!-- End .row-fluid -->

                
            </div>
            <!-- End contentwrapper -->
        </div><!-- End #content -->
    
    </div><!-- End #wrapper -->
    
<%@ include file="template/CommonJS.jsp" %>
    
	 <script type="text/javascript">	 
				$(document).ready(function() { 		
					$("#form-addMake").validate({
    					ignore: null,
    					ignore: 'input[type="hidden"]',
    					rules: {					  			
							"make.makeName": "required"
						},
						messages: {
									"make.makeName": 
									{
										required: "Make Name is required"
									}
						}
    					});
				});//End document ready functions
	</script>

<%@ include file="template/CommonFooter.jsp" %>    

 